Popular Searches
Popular Course Categories
Popular Courses

Using Goal Seek for Target-Based Calculations

Using Goal Seek for Target-Based Calculations

What-If Analysis and Scenario Planning

Using Goal Seek for Target-Based Calculations in Microsoft Excel

Course: Advanced Excel Training

Topic: Using Goal Seek for Target-Based Calculations

Course Link: Advanced Excel Course

Demo Link: Register for a Course Demo

Website: JustAcademy


1. Introduction to Goal Seek

Goal Seek is a What-If Analysis tool in Microsoft Excel that helps users determine the input value required to achieve a specific result in a formula. Instead of manually trying different numbers, users specify the desired result and allow Excel to calculate the required input.

Goal Seek is especially useful when a formula's output depends on one unknown input. It works backward from a target value to determine which input value makes the formula return the desired result.

For example, a business may want to determine how many products it must sell to earn a profit of ₹1,00,000. If profit depends on sales quantity, selling price, and costs, Goal Seek can calculate the required sales quantity when the other values are fixed.

Learning Objectives

  • Understand the purpose of Goal Seek in Excel.
  • Learn the relationship between input cells, formula cells, and target values.
  • Use Goal Seek to solve target-based calculations.
  • Apply Goal Seek to sales, profit, budgeting, finance, and academic calculations.
  • Understand the limitations of Goal Seek.
  • Validate the results obtained through What-If Analysis.

2. What Is Goal Seek?

Goal Seek is a built-in Excel feature available through the What-If Analysis tools. It changes one input cell until a formula in another cell reaches a specified target value.

Goal Seek requires three essential elements:

Element Description Example
Set Cell The cell containing the formula whose result must reach a target. Profit formula in D2
To Value The target result Excel should achieve. 100000
By Changing Cell The input cell Excel is allowed to change. Units Sold in B2

The Set Cell must contain a formula that depends directly or indirectly on the Changing Cell. The target value is entered as a number, not as a cell reference.

3. Where to Find Goal Seek in Excel

Follow these steps to open Goal Seek:

  1. Open your Excel workbook.
  2. Select the Data tab on the Ribbon.
  3. Locate the What-If Analysis option in the Forecast or Data Tools area, depending on your Excel version.
  4. Click What-If Analysis.
  5. Select Goal Seek.
  6. The Goal Seek dialog box will appear.

In most desktop versions of Microsoft Excel for Windows, the menu path is Data > What-If Analysis > Goal Seek. The precise ribbon arrangement may differ across Excel versions and platforms.

4. Understanding the Goal Seek Dialog Box

The Goal Seek dialog box contains three fields. Each field must be completed correctly for Excel to calculate the required input.

4.1 Set Cell

The Set Cell field identifies the formula cell that contains the result you want to achieve. For example, if cell D2 calculates profit, D2 should be selected as the Set Cell.

Important: The Set Cell must contain a formula. A cell containing only a fixed number cannot be used to calculate a target through Goal Seek.

4.2 To Value

The To Value field contains the desired numerical result. For example, enter 100000 when you want the formula to return a profit of ₹1,00,000.

4.3 By Changing Cell

The By Changing Cell field identifies the input that Excel can adjust. For example, B2 may contain the number of units sold.

The changing cell must be a single input cell. Goal Seek does not directly change multiple independent input cells at the same time.

5. Example 1: Using Goal Seek to Calculate Required Sales

Suppose a company sells a product for ₹500 per unit and incurs a variable cost of ₹300 per unit. Its fixed costs are ₹40,000. The company wants to determine how many units it must sell to achieve a profit of ₹1,00,000.

Step 1: Create the Excel Worksheet

Cell Description Value or Formula
A1 Selling Price per Unit 500
A2 Variable Cost per Unit 300
A3 Fixed Costs 40000
A4 Units Sold 500
A5 Total Revenue =B1*B4
A6 Total Variable Cost =B2*B4
A7 Total Profit =B5-B6-B3

Enter the descriptions in column A and their corresponding values or formulas in column B. The formulas in the table refer to the cells in column B.

Step 2: Understand the Formula

The profit formula is:

Profit = (Selling Price - Variable Cost) * Units Sold - Fixed Costs

Using the initial values, the profit is:

Profit = (500 - 300) * 500 - 40000
Profit = 60000

The current profit is ₹60,000, but the business wants to achieve ₹1,00,000.

Step 3: Open Goal Seek

  1. Select Data.
  2. Click What-If Analysis.
  3. Select Goal Seek.

Step 4: Enter Goal Seek Values

Field Enter
Set Cell $B$7
To Value 100000
By Changing Cell $B$4
  1. Click OK.
  2. Excel adjusts the Units Sold value in B4.
  3. Excel calculates a value that makes the profit formula reach the target.
  4. Review the result in the Goal Seek Status dialog box.
  5. Click OK to retain the result or Cancel to restore the original values.

Step 5: Interpret the Result

The required number of units is 700.

Profit = (500 - 300) * 700 - 40000
Profit = 100000

The company must sell 700 units to achieve a profit of ₹1,00,000 under the stated assumptions.

6. Example 2: Finding the Required Selling Price

Suppose a business sells 1,000 units. The variable cost is ₹250 per unit, and fixed costs are ₹50,000. The business wants to earn a profit of ₹2,00,000 and needs to determine the required selling price.

Worksheet Setup

Cell Description Value or Formula
B1 Selling Price per Unit 500
B2 Variable Cost per Unit 250
B3 Units Sold 1000
B4 Fixed Costs 50000
B5 Total Profit =(B1-B2)*B3-B4

Goal Seek Configuration

  • Set Cell: B5
  • To Value: 200000
  • By Changing Cell: B1

Goal Seek calculates the selling price required to achieve the target profit.

Target Profit = (Selling Price - 250) * 1000 - 50000

200000 = (Selling Price - 250) * 1000 - 50000

Selling Price = 500

The required selling price is ₹500 per unit.

7. Example 3: Achieving a Target Percentage in Excel

Goal Seek can also be used to determine the marks required in an examination to achieve a target overall percentage.

Suppose a student has scored 70 out of 100 in each of three subjects and wants an average score of 80 across four equally weighted subjects.

Worksheet Setup

Cell Description Value or Formula
B1 Subject 1 70
B2 Subject 2 70
B3 Subject 3 70
B4 Subject 4 70
B5 Average Marks =AVERAGE(B1:B4)

Goal Seek Configuration

  • Set Cell: B5
  • To Value: 80
  • By Changing Cell: B4

Goal Seek calculates the marks needed in Subject 4 to achieve an average of 80.

Required Average = (70 + 70 + 70 + Required Marks) / 4

80 = (210 + Required Marks) / 4

Required Marks = 110

The mathematical result is 110 marks, which exceeds the maximum of 100. Therefore, the target is impossible under these assumptions. Goal Seek can help reveal that a target cannot be achieved within realistic input limits. In this example, even scoring 100 would produce an average of 77.5.

8. Example 4: Calculating the Required Monthly Savings

Suppose a person wants to save ₹1,20,000 in 12 months. If savings are equal every month and interest is ignored, the monthly savings target can be calculated using Goal Seek.

Worksheet Setup

Cell Description Value or Formula
B1 Monthly Savings 8000
B2 Number of Months 12
B3 Total Savings =B1*B2

Goal Seek Configuration

  • Set Cell: B3
  • To Value: 120000
  • By Changing Cell: B1
Total Savings = Monthly Savings * Number of Months
120000 = Monthly Savings * 12
Monthly Savings = 10000

The required monthly savings are ₹10,000, assuming no interest, fees, or changes in the savings schedule.

9. Example 5: Calculating the Required Production Quantity

A manufacturing company wants to achieve a target contribution after accounting for fixed costs. Goal Seek can calculate the required production or sales quantity when unit revenue, unit variable cost, and fixed costs are known.

Suppose the selling price is ₹800 per unit, variable cost is ₹500 per unit, fixed costs are ₹90,000, and the target profit is ₹1,50,000.

Profit = (Selling Price - Variable Cost) * Quantity - Fixed Costs

150000 = (800 - 500) * Quantity - 90000

240000 = 300 * Quantity

Quantity = 800 units

The company must sell 800 units to reach the target profit, assuming the unit selling price and variable costs remain constant and sufficient demand exists.

10. Goal Seek for Loan and EMI Analysis

Goal Seek can be used with a financial formula to determine an input needed to achieve a target payment or balance. For example, users may calculate a loan amount that corresponds to a specified monthly payment when the interest rate and loan term are fixed.

Excel's PMT function calculates the periodic payment for a loan based on a constant interest rate and payment schedule.

Example Formula

=PMT(B2/12,B3*12,B1)

In this example:

  • B1 contains the loan principal.
  • B2 contains the annual interest rate expressed as a decimal.
  • B3 contains the loan term in years.

The formula returns a payment with a sign convention that usually makes the payment negative when the principal is entered as a positive value. To use Goal Seek for a positive target payment, you can set the target cell to the negative of PMT or use =-PMT(B2/12,B3*12,B1).

Set the payment formula cell as the Set Cell, enter the desired payment in To Value, and select the loan principal as the Changing Cell. This determines the loan principal that corresponds to the specified payment, assuming the interest rate and term remain fixed.

Actual loan payments may also depend on fees, insurance, variable interest rates, and lender-specific terms.

11. Goal Seek for Budget and Cost Planning

Businesses can use Goal Seek to determine the input required to achieve a budget target, reduce expenses to a desired level, or calculate the revenue needed to meet a financial objective.

Business Applications

  • Determine the sales volume required to meet a profit target.
  • Calculate the selling price needed to achieve a specified margin.
  • Find the maximum expense level that keeps a project within budget.
  • Determine the advertising spend required by a simplified sales model.
  • Calculate the production quantity required to meet a contribution target.
  • Estimate the monthly savings required to reach a financial goal.
  • Find a loan principal consistent with a target monthly payment.

For each use case, build a formula that accurately represents the business relationship before applying Goal Seek. The output is only as reliable as the assumptions in the formula.

12. Understanding Goal Seek Results

After running Goal Seek, Excel displays a status message indicating whether it found a solution. Users can retain the calculated input or cancel the operation.

What to Check After Goal Seek

  • Confirm that the Set Cell contains the intended formula.
  • Check that the target value is entered correctly.
  • Verify that the correct input cell was selected.
  • Recalculate the formula using the resulting input.
  • Check whether the result is realistic and falls within acceptable business limits.
  • Consider rounding requirements for units, prices, percentages, and dates.

Goal Seek is a numerical search tool. It may find an approximate result within Excel's calculation tolerance rather than an exact mathematical equality in every situation.

13. Limitations of Goal Seek

Limitation Explanation
One changing cell Goal Seek adjusts only one input cell per operation.
Requires a formula The Set Cell must contain a formula linked to the changing input.
No direct multiple-variable optimization It cannot independently optimize several changing cells at once.
May return unrealistic values It does not automatically enforce business limits such as nonnegative quantities or maximum prices.
May not find a suitable result Some formulas do not reach the target, or the numerical search may not find an appropriate solution.
Changes the workbook input The selected changing cell is modified when the result is retained.
Limited to one target per run Separate target calculations normally require separate Goal Seek operations.

14. Difference Between Goal Seek, Solver, and Data Tables

Feature Goal Seek Solver Data Table
Main purpose Find an input for a target formula result. Optimize an objective under constraints. Compare results for multiple input scenarios.
Changing inputs One cell. Multiple cells can be adjusted. One or two input variables for a What-If Data Table.
Constraints No direct constraints. Supports specified constraints. No optimization constraints.
Example Find sales units required for ₹1,00,000 profit. Maximize profit subject to resource limits. Compare profit at different prices and quantities.

Use Goal Seek when a single input must produce a specific formula result. Use Solver for more complex optimization problems involving multiple changing cells and constraints. Use Data Tables when you want to examine how different input values affect a formula's result.

15. Common Errors and Troubleshooting

Problem Possible Cause Solution
Goal Seek option is unavailable. The user is working in a version or platform with different feature availability. Check the supported Excel desktop version and ribbon location.
Set Cell contains no formula. A fixed number was selected instead of a formula cell. Select a formula cell that depends on the changing input.
Result does not reach the target. The formula may not be able to reach the target. Check the formula, assumptions, and feasible input range.
Incorrect cell changes. The wrong Changing Cell was selected. Reopen Goal Seek and select the intended input cell.
Result is negative or unrealistic. No business constraints were applied. Check whether the result is feasible and use Solver if constraints are required.
Formula does not update as expected. Calculation settings or formula dependencies may be incorrect. Check formula references and workbook calculation settings.
Whole-unit output is needed. The mathematical result may be fractional. Use appropriate rounding and recalculate the formula with the rounded input.

16. Best Practices for Using Goal Seek

  • Build and test the formula before opening Goal Seek.
  • Use descriptive row and column labels.
  • Keep input cells separate from calculation cells where practical.
  • Save a copy of the workbook before performing important target calculations.
  • Check whether the target is mathematically and operationally feasible.
  • Validate the result using an independent calculation.
  • Use appropriate units, number formats, and rounding.
  • Document assumptions such as fixed costs, unit price, interest rate, and time period.
  • Use Solver when multiple changing variables or constraints are required.
  • Retain the Goal Seek result only after reviewing it.

17. Practical Exercise

Task: A company sells a product for ₹750 per unit. The variable cost is ₹450 per unit, and monthly fixed costs are ₹60,000. The company wants to earn a monthly profit of ₹1,50,000.

Requirements

  1. Create worksheet cells for selling price, variable cost, fixed costs, and units sold.
  2. Write a formula to calculate total revenue.
  3. Write a formula to calculate total variable cost.
  4. Calculate profit using the revenue, variable costs, and fixed costs.
  5. Open Goal Seek from the Data tab.
  6. Set the profit formula cell as Set Cell.
  7. Enter 150000 as To Value.
  8. Select the units sold cell as By Changing Cell.
  9. Run Goal Seek and verify the result.

Expected Calculation

Profit = (Selling Price - Variable Cost) * Units Sold - Fixed Costs

150000 = (750 - 450) * Units Sold - 60000

210000 = 300 * Units Sold

Units Sold = 700

The company must sell 700 units to achieve the target profit, assuming the price, variable cost, and fixed costs remain constant.

18. Interview Questions and Answers

Q1. What is Goal Seek in Excel?

Answer: Goal Seek is a What-If Analysis tool that determines the input value required for a formula to achieve a specified target result.

Q2. Where can you find Goal Seek?

Answer: In compatible Excel desktop versions, go to Data > What-If Analysis > Goal Seek.

Q3. What are the three fields in Goal Seek?

Answer: Set Cell, To Value, and By Changing Cell.

Q4. Can Goal Seek change multiple cells simultaneously?

Answer: No. Goal Seek adjusts one changing cell per operation. Solver can adjust multiple decision variables.

Q5. Can Goal Seek work without a formula?

Answer: No. The Set Cell must contain a formula that depends on the selected changing cell.

Q6. How is Goal Seek useful in sales analysis?

Answer: It can determine the sales quantity or selling price required to achieve a specified revenue or profit target.

Q7. What is the difference between Goal Seek and Solver?

Answer: Goal Seek changes one input to reach a target result, whereas Solver can optimize an objective using multiple changing cells and constraints.

Q8. Why might Goal Seek produce an unrealistic answer?

Answer: Goal Seek does not automatically apply business constraints, such as minimum selling prices, maximum production capacity, or nonnegative quantities.

Q9. What happens when Goal Seek finds a result?

Answer: Excel displays a status message. The user can retain the calculated value or cancel the operation.

Q10. Can Goal Seek calculate required examination marks?

Answer: Yes. If a formula calculates the average or total marks, Goal Seek can determine the required score for a target, provided the target is feasible under the formula's assumptions.

19. Quick Revision Notes

  • Goal Seek: Finds an input required to achieve a formula target.
  • Set Cell: The formula cell whose result must reach the target.
  • To Value: The desired numerical result.
  • By Changing Cell: The single input cell Excel adjusts.
  • What-If Analysis: Excel tools used to analyze alternative scenarios.
  • Business applications: Sales, profit, budgeting, loan analysis, savings, and target scores.
  • Key limitation: Only one changing cell can be adjusted per Goal Seek operation.
  • Solver: Useful for multi-variable optimization with constraints.
  • Validation: Always check that the result is feasible and that the formula is correct.

20. Conclusion

Goal Seek is a useful Advanced Excel feature for solving target-based calculations. It helps users determine the input required to achieve a desired result in a formula, reducing manual trial and error.

From calculating sales targets and product prices to planning budgets, monthly savings, and loan payments, Goal Seek can simplify many everyday business and analytical tasks. Accurate formulas, realistic assumptions, and careful validation are essential for obtaining meaningful results.

Explore the Advanced Excel Course at JustAcademy to strengthen your spreadsheet analysis and What-If Analysis skills.

To learn more about training options, register for a course demo or visit the JustAcademy website.

Previous Next
whatsapp